package org.zlpt.entity.bo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hyperledger.fabric.contract.annotation.Property;

import java.io.Serializable;

/**
 * {@code @author:} wisecoach
 * {@code @date:} 2023/5/17 下午9:08
 * {@code @version:} 1.0.0
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class LogicArg implements Serializable {
    // 参数key
	@Property
    private String key;

    // 参数类型
	@Property
    private String type;

    // 参数是否是必须的
	@Property
    private Boolean required;

    // 参数描述
	@Property
    private String desc;

    // 参数是否可编辑
	@Property
    private Boolean editable;
}
